# coding: UTF-8
# Filename : thread.py
# Company : imedia
# Author : rose
# -*-coding:utf-8 -*-
import threading
import urllib, urllib2
class CurlThread(threading.Thread):
    def __init__(self,param):
        self.param = param
        threading.Thread.__init__(self)
    def run(self):
        print urllib2.urlopen(self.param).read()
    






for i in range(1,100):
    thread = CurlThread('http://www.baidu.com')
    thread.start()



        